package campus.aiit.ssl.dao;

import campus.aiit.ssl.domain.model.Department;
import campus.aiit.ssl.manage.custom.dao.BaseDao;

public interface DepartmentDao extends BaseDao<Department> {
    @Override
    int deleteByPrimaryKey(Long id);

    @Override
    int insertSelective(Department record);

    @Override
    Department selectByPrimaryKey(Long id);

    @Override
    int updateByPrimaryKeySelective(Department record);

    int insertByName(String name);

    Department[] selectBlocks();
}
